import request from '@/utils/request'

// 查询手术详情表列表
export function listSurgical_desc(query) {
  return request({
    url: '/hospital/surgical_desc/list',
    method: 'get',
    params: query
  })
}

// 查询手术详情表详细
export function getSurgical_desc(surgicalDescid) {
  return request({
    url: '/hospital/surgical_desc/' + surgicalDescid,
    method: 'get'
  })
}

// 新增手术详情表
export function addSurgical_desc(data) {
  return request({
    url: '/hospital/surgical_desc',
    method: 'post',
    data: data
  })
}

// 修改手术详情表
export function updateSurgical_desc(data) {
  return request({
    url: '/hospital/surgical_desc',
    method: 'put',
    data: data
  })
}

// 删除手术详情表
export function delSurgical_desc(surgicalDescid) {
  return request({
    url: '/hospital/surgical_desc/' + surgicalDescid,
    method: 'delete'
  })
}
